package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.topevery.garden.entity.po.CureRecordFile;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

/**
 * 防治记录 视图
 *
 * @author code-generate
 * @date 2022-02-18
 */
@Data
@ApiModel(value = "CureRecord 视图", description = "防治记录 视图")
public class CureRecordVO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /**
     * 树木编号
     */
    @ApiModelProperty(value = "树木编号")
    @Excel(name = "树木编号", orderNum = "0")
    private String treeCode;

    /**
     * 记录时间
     */
    @ApiModelProperty(value = "记录时间")
    @Excel(name = "记录时间", orderNum = "0")
    private LocalDate recordDate;

    /**
     * 发病时间
     */
    @ApiModelProperty(value = "发病时间")
    @Excel(name = "发病时间", orderNum = "0")
    private LocalDate diseaseDate;

    /**
     * 症状描述
     */
    @ApiModelProperty(value = "症状描述")
    @Excel(name = "症状描述", orderNum = "0")
    private String desc;

    /**
     * 防止措施
     */
    @ApiModelProperty(value = "防止措施")
    @Excel(name = "防止措施", orderNum = "0")
    private String measure;

    /**
     * 是否会诊 0 否 1 是 
     */
    @ApiModelProperty(value = "是否会诊 0 否 1 是 ")
    @Excel(name = "是否会诊 0 否 1 是 ", orderNum = "0")
    private Integer consultationStatus;

    /**
     * 会诊时间
     */
    @ApiModelProperty(value = "会诊时间")
    @Excel(name = "会诊时间", orderNum = "0")
    private LocalDate consultationDate;

    /**
     * 会诊记录
     */
    @ApiModelProperty(value = "会诊记录")
    @Excel(name = "会诊记录", orderNum = "0")
    private String consultationRecord;

    /**
     * 恢复时间
     */
    @ApiModelProperty(value = "恢复时间")
    @Excel(name = "恢复时间", orderNum = "0")
    private LocalDate recoverDate;

    /**
     * 附件
     */
    @ApiModelProperty(value = "附件url")
    @Excel(name = "附件url", orderNum = "0")
    private String fileUrl;

    @ApiModelProperty(value = "附件")
    private List<CureRecordFile> fileList;
}
